package cn.cboard.dao;

import java.util.Collection;

import cn.cboard.model.Forum;

public interface ForumDao {
	public void create(Forum forum);
	public void update(Forum forum);
	public Collection<Forum> listForums();
	public Forum getForum(Long forumId);
	public void removeForm(Long forumId);
	public Long getLastTopicId(Long forumId);
	public int getTopicCount(Long forumId);
	public int getThreadCount(Long forumId);
}
